package com.lin.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Configuration
@PropertySource("classpath:db.properties")
@ComponentScan("com.lin.service.Impl")
@MapperScan("com.lin.mapper")
@Import({JdbcConfig.class, MyBatisConfig.class, TransactionConfig.class})
@EnableTransactionManagement
public class SpringConfig {
}
